import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from "unplugin-vue-components/resolvers";
import path from "path";


export default (path: any) => {
    return Components ({
        resolvers:[
            ElementPlusResolver()
        ],
        dts: path.resolve(path.resolve(__dirname, '../../src'), 'types', 'components.d.ts')
    })
}
